import { createRouter, createWebHashHistory } from 'vue-router'
import Home from '../views/Home.vue'
import Profile from "@/views/Profile.vue";
import PatientTeethList from "@/views/PatientTeethList.vue";
import PatientTreatment from "@/views/PatientTreatment.vue";
import DentistTeethList from "@/views/DentistTeethList.vue";
import DentistTreatment from "@/views/DentistTreatment.vue";
import EstimateTeeth from "@/views/EstimateTeeth.vue";

const routes = [
  {
    path: '/',
    name: 'ho',
    component: Home
  },
  {
    path: '/home',
    name: 'home',
    component: Home
  },
  {
    path: '/profile',
    name: 'profile',
    component: Profile
  },
  {
    path: '/patientteethlist',
    name: 'patientteethlist',
    component: PatientTeethList
  },
  {
    path: '/patienttreatment',
    name: 'patienttreatment',
    component: PatientTreatment
  },
  {
    path: '/dentistteethlist',
    name: 'dentistteethlist',
    component: DentistTeethList
  },
  {
    path: '/dentisttreatment',
    name: 'dentisttreatment',
    component: DentistTreatment
  },
  {
    path: '/estimateteeth',
    name: 'estimate',
    component: EstimateTeeth
  }
]

const router = createRouter({
  history: createWebHashHistory(),
  routes
})

export default router
